{template "content","header"}

{if $CATEGORYS[$catid][parentid]==22}
<div class="banner_imgBg newImgBg">
    <img src="{TPL_IMG}new_bg.png"/>
</div>
{elseif $CATEGORYS[$catid][parentid]==27}
<div class="banner_imgBg productImgBg">
    <img src="{TPL_IMG}product_titel.png"/>
</div>
{/if}
<!-- 当行breach -->
<div class="l_con_w">
    <ul class="com_nav clearfix">
        <li class="r"><a href="#">{catpos($catid)}</a></li>
        <li  class="r"> > </li>
        <li class="r"><a href="/index.php">首页</a></li>
        <li class="r">当前位置：</li>        
    </ul>
</div>

<div class="l_con clearfix">
    <div class="leftNav l">
        <ul>
            {loop subcat($CATEGORYS[$catid][parentid]) $v}
            <li><a href="{$v[url]}">{$v[catname]}</a></li>
            {/loop}
        </ul>
    </div>
    <div class="r rightRIght">
        <h1 class="newH1">{$title}</h1>
        <p class="new_d_titel clearfix">
            <label class="l">标签：{loop $keywords $keyword} {$keyword}  {/loop}</label>
            <span class="l">编辑：{$username}</span>
            <b class="r">日期：{$inputtime}</b>
        </p>
        <div class="new_d_com">
            {$content}  
        </div>
        <ul class="new_d_page clearfix">
            <li class="l">上一篇：<a href="{$previous_page[url]}">{$previous_page[title]}</a></li>
            <li class="r">下一篇：<a href="{$next_page[url]}">{$next_page[title]}</a></li>
        </ul>   
    </div>
</div>
{template "content","footer"}